<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">EnergyStoringTemperedMarkovChain</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_energy_storing_tempered_markov_chain-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Implements parallel tempering but also stores additional statistics on the energy differences.  
 <a href="classshark_1_1_energy_storing_tempered_markov_chain.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">shark/Unsupervised/RBM/Sampling/EnergyStoringTemperedMarkovChain.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aec1460bd58ab50bfd1a0ab043810936f" id="r_aec1460bd58ab50bfd1a0ab043810936f"><td class="memItemLeft" align="right" valign="top">typedef Operator::RBM&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#aec1460bd58ab50bfd1a0ab043810936f">RBM</a></td></tr>
<tr class="memdesc:aec1460bd58ab50bfd1a0ab043810936f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The type of the <a class="el" href="classshark_1_1_r_b_m.html" title="stub for the RBM class. at the moment it is just a holder of the parameter set and the Energy.">RBM</a> the operator is working with.  <br /></td></tr>
<tr class="separator:aec1460bd58ab50bfd1a0ab043810936f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0440df45c63b02e09d72f4cfd9781b2d" id="r_a0440df45c63b02e09d72f4cfd9781b2d"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_tempered_markov_chain.html">TemperedMarkovChain</a>&lt; Operator &gt;::SampleBatch&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a0440df45c63b02e09d72f4cfd9781b2d">SampleBatch</a></td></tr>
<tr class="memdesc:a0440df45c63b02e09d72f4cfd9781b2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">A batch of samples containing hidden and visible samples as well as the energies.  <br /></td></tr>
<tr class="separator:a0440df45c63b02e09d72f4cfd9781b2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb70640b149f2347d316fdf492db8a55" id="r_acb70640b149f2347d316fdf492db8a55"><td class="memItemLeft" align="right" valign="top">typedef SampleBatch::reference&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#acb70640b149f2347d316fdf492db8a55">reference</a></td></tr>
<tr class="memdesc:acb70640b149f2347d316fdf492db8a55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mutable reference to an element of the batch.  <br /></td></tr>
<tr class="separator:acb70640b149f2347d316fdf492db8a55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa200ee423276beeffc81372037e1c926" id="r_aa200ee423276beeffc81372037e1c926"><td class="memItemLeft" align="right" valign="top">typedef SampleBatch::const_reference&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#aa200ee423276beeffc81372037e1c926">const_reference</a></td></tr>
<tr class="memdesc:aa200ee423276beeffc81372037e1c926"><td class="mdescLeft">&#160;</td><td class="mdescRight">Immutable reference to an element of the batch.  <br /></td></tr>
<tr class="separator:aa200ee423276beeffc81372037e1c926"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae7a05f61a5585d9bdd366123a231b96d" id="r_ae7a05f61a5585d9bdd366123a231b96d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#ae7a05f61a5585d9bdd366123a231b96d">EnergyStoringTemperedMarkovChain</a> (<a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#aec1460bd58ab50bfd1a0ab043810936f">RBM</a> *rbm, bool integrateEnergyDifferences=true)</td></tr>
<tr class="separator:ae7a05f61a5585d9bdd366123a231b96d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a095ed740b5339a40a8dae97f2119b97b" id="r_a095ed740b5339a40a8dae97f2119b97b"><td class="memItemLeft" align="right" valign="top">const Operator &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a095ed740b5339a40a8dae97f2119b97b">transitionOperator</a> () const</td></tr>
<tr class="separator:a095ed740b5339a40a8dae97f2119b97b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab38f105395b2fe6c1b046e079726c226" id="r_ab38f105395b2fe6c1b046e079726c226"><td class="memItemLeft" align="right" valign="top">Operator &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#ab38f105395b2fe6c1b046e079726c226">transitionOperator</a> ()</td></tr>
<tr class="separator:ab38f105395b2fe6c1b046e079726c226"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62a2ca127f47380ec50bd859487e2e96" id="r_a62a2ca127f47380ec50bd859487e2e96"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a62a2ca127f47380ec50bd859487e2e96">setNumberOfTemperatures</a> (std::size_t temperatures)</td></tr>
<tr class="separator:a62a2ca127f47380ec50bd859487e2e96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d6f3031dbae2513fa3bba83f261e69b" id="r_a2d6f3031dbae2513fa3bba83f261e69b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a2d6f3031dbae2513fa3bba83f261e69b">setUniformTemperatureSpacing</a> (std::size_t temperatures)</td></tr>
<tr class="separator:a2d6f3031dbae2513fa3bba83f261e69b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11d7ba7c75b98dd5809001fa8bf1ef2c" id="r_a11d7ba7c75b98dd5809001fa8bf1ef2c"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a11d7ba7c75b98dd5809001fa8bf1ef2c">numberOfTemperatures</a> () const</td></tr>
<tr class="memdesc:a11d7ba7c75b98dd5809001fa8bf1ef2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number Of temperatures.  <br /></td></tr>
<tr class="separator:a11d7ba7c75b98dd5809001fa8bf1ef2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa0c9dd682454dfa5f3b08cf87a5ded2" id="r_afa0c9dd682454dfa5f3b08cf87a5ded2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#afa0c9dd682454dfa5f3b08cf87a5ded2">setBatchSize</a> (std::size_t <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a862d3a6d440f46551a810fafb39402c6">batchSize</a>)</td></tr>
<tr class="separator:afa0c9dd682454dfa5f3b08cf87a5ded2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a862d3a6d440f46551a810fafb39402c6" id="r_a862d3a6d440f46551a810fafb39402c6"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a862d3a6d440f46551a810fafb39402c6">batchSize</a> ()</td></tr>
<tr class="separator:a862d3a6d440f46551a810fafb39402c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d7b2d83d91b79b18274565db1f8b93b" id="r_a1d7b2d83d91b79b18274565db1f8b93b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a1d7b2d83d91b79b18274565db1f8b93b">setBeta</a> (std::size_t i, double <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#ab07c1453c6cadb92927acfcf4354c5b0">beta</a>)</td></tr>
<tr class="separator:a1d7b2d83d91b79b18274565db1f8b93b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab07c1453c6cadb92927acfcf4354c5b0" id="r_ab07c1453c6cadb92927acfcf4354c5b0"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#ab07c1453c6cadb92927acfcf4354c5b0">beta</a> (std::size_t i) const</td></tr>
<tr class="separator:ab07c1453c6cadb92927acfcf4354c5b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a562f689c170cdf5e8e73e65aec437b4d" id="r_a562f689c170cdf5e8e73e65aec437b4d"><td class="memItemLeft" align="right" valign="top">RealVector const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a562f689c170cdf5e8e73e65aec437b4d">beta</a> () const</td></tr>
<tr class="separator:a562f689c170cdf5e8e73e65aec437b4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2228ae158c0d70b468830469bfe90e6" id="r_ae2228ae158c0d70b468830469bfe90e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#aa200ee423276beeffc81372037e1c926">const_reference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#ae2228ae158c0d70b468830469bfe90e6">sample</a> () const</td></tr>
<tr class="memdesc:ae2228ae158c0d70b468830469bfe90e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current state of the chain for beta = 1.  <br /></td></tr>
<tr class="separator:ae2228ae158c0d70b468830469bfe90e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20fc0a86084c2e52e4c6b06c223bb21f" id="r_a20fc0a86084c2e52e4c6b06c223bb21f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a0440df45c63b02e09d72f4cfd9781b2d">SampleBatch</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a20fc0a86084c2e52e4c6b06c223bb21f">samples</a> () const</td></tr>
<tr class="memdesc:a20fc0a86084c2e52e4c6b06c223bb21f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current state of the chain for all beta values.  <br /></td></tr>
<tr class="separator:a20fc0a86084c2e52e4c6b06c223bb21f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a307f9a93bd1302b472818bba62bc07b9" id="r_a307f9a93bd1302b472818bba62bc07b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a0440df45c63b02e09d72f4cfd9781b2d">SampleBatch</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a307f9a93bd1302b472818bba62bc07b9">samples</a> ()</td></tr>
<tr class="memdesc:a307f9a93bd1302b472818bba62bc07b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current batch of samples of the Markov chain.  <br /></td></tr>
<tr class="separator:a307f9a93bd1302b472818bba62bc07b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21b3be14d212c43e6503cad08301d393" id="r_a21b3be14d212c43e6503cad08301d393"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a21b3be14d212c43e6503cad08301d393">initializeChain</a> (<a class="el" href="classshark_1_1_data.html">Data</a>&lt; RealVector &gt; const &amp;dataSet)</td></tr>
<tr class="memdesc:a21b3be14d212c43e6503cad08301d393"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the markov chain using samples drawn uniformly from the set.  <br /></td></tr>
<tr class="separator:a21b3be14d212c43e6503cad08301d393"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fe9dff467776481c156f52abd39bd94" id="r_a5fe9dff467776481c156f52abd39bd94"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a5fe9dff467776481c156f52abd39bd94">initializeChain</a> (RealMatrix const &amp;sampleData)</td></tr>
<tr class="memdesc:a5fe9dff467776481c156f52abd39bd94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes with data points from a batch of points.  <br /></td></tr>
<tr class="separator:a5fe9dff467776481c156f52abd39bd94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a390d4deeed260f32028b2935dd5b7ddb" id="r_a390d4deeed260f32028b2935dd5b7ddb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a390d4deeed260f32028b2935dd5b7ddb">step</a> (unsigned int k)</td></tr>
<tr class="separator:a390d4deeed260f32028b2935dd5b7ddb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98bb5d7502c757a432822bc43e57dee8" id="r_a98bb5d7502c757a432822bc43e57dee8"><td class="memItemLeft" align="right" valign="top">RealMatrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a98bb5d7502c757a432822bc43e57dee8">getUpDifferences</a> () const</td></tr>
<tr class="separator:a98bb5d7502c757a432822bc43e57dee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7efbbd03042d38540e84c5cfdbfaf283" id="r_a7efbbd03042d38540e84c5cfdbfaf283"><td class="memItemLeft" align="right" valign="top">RealMatrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a7efbbd03042d38540e84c5cfdbfaf283">getDownDifferences</a> () const</td></tr>
<tr class="separator:a7efbbd03042d38540e84c5cfdbfaf283"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b1b396adf72f4143d7a22bf969bb114" id="r_a2b1b396adf72f4143d7a22bf969bb114"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a2b1b396adf72f4143d7a22bf969bb114">resetDifferences</a> ()</td></tr>
<tr class="separator:a2b1b396adf72f4143d7a22bf969bb114"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d6031a54692fdd85387eb9a2f410b22" id="r_a5d6031a54692fdd85387eb9a2f410b22"><td class="memItemLeft" align="right" valign="top">bool &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a5d6031a54692fdd85387eb9a2f410b22">storeEnergyDifferences</a> ()</td></tr>
<tr class="separator:a5d6031a54692fdd85387eb9a2f410b22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afae3cc6e7626e291e4068ae278d96f00" id="r_afae3cc6e7626e291e4068ae278d96f00"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#afae3cc6e7626e291e4068ae278d96f00">update</a> ()</td></tr>
<tr class="separator:afae3cc6e7626e291e4068ae278d96f00"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-attribs" name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a171eacad9f4a8371278220a8feae77c1" id="r_a171eacad9f4a8371278220a8feae77c1"><td class="memItemLeft" align="right" valign="top">static const bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a171eacad9f4a8371278220a8feae77c1">computesBatch</a> = false</td></tr>
<tr class="memdesc:a171eacad9f4a8371278220a8feae77c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="classshark_1_1_markov_chain.html" title="A single Markov chain.">MarkovChain</a> can't be used to compute several samples at once.  <br /></td></tr>
<tr class="separator:a171eacad9f4a8371278220a8feae77c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class Operator&gt;<br />
class shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;</div><p>Implements parallel tempering but also stores additional statistics on the energy differences. </p>

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00040">40</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="aa200ee423276beeffc81372037e1c926" name="aa200ee423276beeffc81372037e1c926"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa200ee423276beeffc81372037e1c926">&#9670;&#160;</a></span>const_reference</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef SampleBatch::const_reference <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::const_reference</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Immutable reference to an element of the batch. </p>

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00062">62</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

</div>
</div>
<a id="aec1460bd58ab50bfd1a0ab043810936f" name="aec1460bd58ab50bfd1a0ab043810936f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec1460bd58ab50bfd1a0ab043810936f">&#9670;&#160;</a></span>RBM</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef Operator::RBM <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::RBM</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The type of the <a class="el" href="classshark_1_1_r_b_m.html" title="stub for the RBM class. at the moment it is just a holder of the parameter set and the Energy.">RBM</a> the operator is working with. </p>

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00053">53</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

</div>
</div>
<a id="acb70640b149f2347d316fdf492db8a55" name="acb70640b149f2347d316fdf492db8a55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb70640b149f2347d316fdf492db8a55">&#9670;&#160;</a></span>reference</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef SampleBatch::reference <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::reference</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Mutable reference to an element of the batch. </p>

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00059">59</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

</div>
</div>
<a id="a0440df45c63b02e09d72f4cfd9781b2d" name="a0440df45c63b02e09d72f4cfd9781b2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0440df45c63b02e09d72f4cfd9781b2d">&#9670;&#160;</a></span>SampleBatch</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_tempered_markov_chain.html">TemperedMarkovChain</a>&lt;Operator&gt;::SampleBatch <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::SampleBatch</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A batch of samples containing hidden and visible samples as well as the energies. </p>

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00056">56</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ae7a05f61a5585d9bdd366123a231b96d" name="ae7a05f61a5585d9bdd366123a231b96d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7a05f61a5585d9bdd366123a231b96d">&#9670;&#160;</a></span>EnergyStoringTemperedMarkovChain()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::EnergyStoringTemperedMarkovChain </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#aec1460bd58ab50bfd1a0ab043810936f">RBM</a> *&#160;</td>
          <td class="paramname"><em>rbm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>integrateEnergyDifferences</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00074">74</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a862d3a6d440f46551a810fafb39402c6" name="a862d3a6d440f46551a810fafb39402c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a862d3a6d440f46551a810fafb39402c6">&#9670;&#160;</a></span>batchSize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::batchSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00102">102</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#afa0c9dd682454dfa5f3b08cf87a5ded2">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::setBatchSize()</a>.</p>

</div>
</div>
<a id="a562f689c170cdf5e8e73e65aec437b4d" name="a562f689c170cdf5e8e73e65aec437b4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a562f689c170cdf5e8e73e65aec437b4d">&#9670;&#160;</a></span>beta() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector const  &amp; <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::beta </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00114">114</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_tempered_markov_chain.html#affbe3936aa5f1429657be37e260abce7">shark::TemperedMarkovChain&lt; Operator &gt;::beta()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a7efbbd03042d38540e84c5cfdbfaf283">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::getDownDifferences()</a>, <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a98bb5d7502c757a432822bc43e57dee8">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::getUpDifferences()</a>, <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a1d7b2d83d91b79b18274565db1f8b93b">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::setBeta()</a>, and <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a390d4deeed260f32028b2935dd5b7ddb">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::step()</a>.</p>

</div>
</div>
<a id="ab07c1453c6cadb92927acfcf4354c5b0" name="ab07c1453c6cadb92927acfcf4354c5b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab07c1453c6cadb92927acfcf4354c5b0">&#9670;&#160;</a></span>beta() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::beta </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00110">110</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_tempered_markov_chain.html#affbe3936aa5f1429657be37e260abce7">shark::TemperedMarkovChain&lt; Operator &gt;::beta()</a>.</p>

</div>
</div>
<a id="a7efbbd03042d38540e84c5cfdbfaf283" name="a7efbbd03042d38540e84c5cfdbfaf283"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7efbbd03042d38540e84c5cfdbfaf283">&#9670;&#160;</a></span>getDownDifferences()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealMatrix <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::getDownDifferences </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00202">202</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a562f689c170cdf5e8e73e65aec437b4d">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::beta()</a>.</p>

</div>
</div>
<a id="a98bb5d7502c757a432822bc43e57dee8" name="a98bb5d7502c757a432822bc43e57dee8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98bb5d7502c757a432822bc43e57dee8">&#9670;&#160;</a></span>getUpDifferences()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealMatrix <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::getUpDifferences </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00195">195</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a562f689c170cdf5e8e73e65aec437b4d">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::beta()</a>.</p>

</div>
</div>
<a id="a21b3be14d212c43e6503cad08301d393" name="a21b3be14d212c43e6503cad08301d393"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21b3be14d212c43e6503cad08301d393">&#9670;&#160;</a></span>initializeChain() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::initializeChain </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; RealVector &gt; const &amp;&#160;</td>
          <td class="paramname"><em>dataSet</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Initializes the markov chain using samples drawn uniformly from the set. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dataSet</td><td>the data set </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00135">135</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_tempered_markov_chain.html#a09bdfb62397058b4f8ef2cff44e55654">shark::TemperedMarkovChain&lt; Operator &gt;::initializeChain()</a>.</p>

</div>
</div>
<a id="a5fe9dff467776481c156f52abd39bd94" name="a5fe9dff467776481c156f52abd39bd94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fe9dff467776481c156f52abd39bd94">&#9670;&#160;</a></span>initializeChain() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::initializeChain </td>
          <td>(</td>
          <td class="paramtype">RealMatrix const &amp;&#160;</td>
          <td class="paramname"><em>sampleData</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Initializes with data points from a batch of points. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sampleData</td><td>the data set </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00142">142</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_tempered_markov_chain.html#a09bdfb62397058b4f8ef2cff44e55654">shark::TemperedMarkovChain&lt; Operator &gt;::initializeChain()</a>.</p>

</div>
</div>
<a id="a11d7ba7c75b98dd5809001fa8bf1ef2c" name="a11d7ba7c75b98dd5809001fa8bf1ef2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11d7ba7c75b98dd5809001fa8bf1ef2c">&#9670;&#160;</a></span>numberOfTemperatures()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::numberOfTemperatures </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the number Of temperatures. </p>

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00095">95</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_tempered_markov_chain.html#aecd5dbebaff6502d13430266dda8cec6">shark::TemperedMarkovChain&lt; Operator &gt;::numberOfTemperatures()</a>.</p>

</div>
</div>
<a id="a2b1b396adf72f4143d7a22bf969bb114" name="a2b1b396adf72f4143d7a22bf969bb114"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b1b396adf72f4143d7a22bf969bb114">&#9670;&#160;</a></span>resetDifferences()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::resetDifferences </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00210">210</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

</div>
</div>
<a id="ae2228ae158c0d70b468830469bfe90e6" name="ae2228ae158c0d70b468830469bfe90e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2228ae158c0d70b468830469bfe90e6">&#9670;&#160;</a></span>sample()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#aa200ee423276beeffc81372037e1c926">const_reference</a> <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::sample </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the current state of the chain for beta = 1. </p>

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00119">119</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_tempered_markov_chain.html#ae9c9fbdf0f08ef6a805be89c0d891fbd">shark::TemperedMarkovChain&lt; Operator &gt;::sample()</a>.</p>

</div>
</div>
<a id="a307f9a93bd1302b472818bba62bc07b9" name="a307f9a93bd1302b472818bba62bc07b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a307f9a93bd1302b472818bba62bc07b9">&#9670;&#160;</a></span>samples() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a0440df45c63b02e09d72f4cfd9781b2d">SampleBatch</a> &amp; <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::samples </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the current batch of samples of the Markov chain. </p>

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00128">128</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_tempered_markov_chain.html#a38ea16dcdd1a7f8182ff95fba7b34554">shark::TemperedMarkovChain&lt; Operator &gt;::samples()</a>.</p>

</div>
</div>
<a id="a20fc0a86084c2e52e4c6b06c223bb21f" name="a20fc0a86084c2e52e4c6b06c223bb21f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20fc0a86084c2e52e4c6b06c223bb21f">&#9670;&#160;</a></span>samples() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a0440df45c63b02e09d72f4cfd9781b2d">SampleBatch</a> const  &amp; <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::samples </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the current state of the chain for all beta values. </p>

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00123">123</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_tempered_markov_chain.html#a38ea16dcdd1a7f8182ff95fba7b34554">shark::TemperedMarkovChain&lt; Operator &gt;::samples()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a390d4deeed260f32028b2935dd5b7ddb">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::step()</a>.</p>

</div>
</div>
<a id="afa0c9dd682454dfa5f3b08cf87a5ded2" name="afa0c9dd682454dfa5f3b08cf87a5ded2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa0c9dd682454dfa5f3b08cf87a5ded2">&#9670;&#160;</a></span>setBatchSize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::setBatchSize </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>batchSize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00099">99</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a862d3a6d440f46551a810fafb39402c6">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::batchSize()</a>, and <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

</div>
</div>
<a id="a1d7b2d83d91b79b18274565db1f8b93b" name="a1d7b2d83d91b79b18274565db1f8b93b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d7b2d83d91b79b18274565db1f8b93b">&#9670;&#160;</a></span>setBeta()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::setBeta </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>beta</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00106">106</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a562f689c170cdf5e8e73e65aec437b4d">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::beta()</a>, and <a class="el" href="classshark_1_1_tempered_markov_chain.html#af20c825470283873aa35ca48fb831069">shark::TemperedMarkovChain&lt; Operator &gt;::setBeta()</a>.</p>

</div>
</div>
<a id="a62a2ca127f47380ec50bd859487e2e96" name="a62a2ca127f47380ec50bd859487e2e96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62a2ca127f47380ec50bd859487e2e96">&#9670;&#160;</a></span>setNumberOfTemperatures()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::setNumberOfTemperatures </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>temperatures</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00087">87</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_tempered_markov_chain.html#aecba5353377bf74ef5f5171c943809dc">shark::TemperedMarkovChain&lt; Operator &gt;::setNumberOfTemperatures()</a>.</p>

</div>
</div>
<a id="a2d6f3031dbae2513fa3bba83f261e69b" name="a2d6f3031dbae2513fa3bba83f261e69b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d6f3031dbae2513fa3bba83f261e69b">&#9670;&#160;</a></span>setUniformTemperatureSpacing()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::setUniformTemperatureSpacing </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>temperatures</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00090">90</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_tempered_markov_chain.html#ad30ceacbe721d4d53e1b34a9021b602c">shark::TemperedMarkovChain&lt; Operator &gt;::setUniformTemperatureSpacing()</a>.</p>

</div>
</div>
<a id="a390d4deeed260f32028b2935dd5b7ddb" name="a390d4deeed260f32028b2935dd5b7ddb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a390d4deeed260f32028b2935dd5b7ddb">&#9670;&#160;</a></span>step()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::step </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>k</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00146">146</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a562f689c170cdf5e8e73e65aec437b4d">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::beta()</a>, <a class="el" href="structshark_1_1_energy.html#aa07edf12f92820285d1b51495cdafb35">shark::Energy&lt; RBM &gt;::energy()</a>, <a class="el" href="structshark_1_1_energy.html#acf73968e06c43cedaf8fede5b2bf7782">shark::Energy&lt; RBM &gt;::inputVisible()</a>, <a class="el" href="structshark_1_1_energy.html#afa5365f469f52d0682d3820fb071fa1b">shark::Energy&lt; RBM &gt;::logUnnormalizedProbabilityHidden()</a>, <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a20fc0a86084c2e52e4c6b06c223bb21f">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::samples()</a>, <a class="el" href="classshark_1_1_tempered_markov_chain.html#af553df4a635f56eac428e064df65ccea">shark::TemperedMarkovChain&lt; Operator &gt;::step()</a>, <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a5d6031a54692fdd85387eb9a2f410b22">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::storeEnergyDifferences()</a>, and <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a095ed740b5339a40a8dae97f2119b97b">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::transitionOperator()</a>.</p>

</div>
</div>
<a id="a5d6031a54692fdd85387eb9a2f410b22" name="a5d6031a54692fdd85387eb9a2f410b22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d6031a54692fdd85387eb9a2f410b22">&#9670;&#160;</a></span>storeEnergyDifferences()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool &amp; <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::storeEnergyDifferences </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00215">215</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a390d4deeed260f32028b2935dd5b7ddb">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::step()</a>.</p>

</div>
</div>
<a id="ab38f105395b2fe6c1b046e079726c226" name="ab38f105395b2fe6c1b046e079726c226"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab38f105395b2fe6c1b046e079726c226">&#9670;&#160;</a></span>transitionOperator() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Operator &amp; <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::transitionOperator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00083">83</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_tempered_markov_chain.html#a26911979f0d57257974d9fc19e2ce5fd">shark::TemperedMarkovChain&lt; Operator &gt;::transitionOperator()</a>.</p>

</div>
</div>
<a id="a095ed740b5339a40a8dae97f2119b97b" name="a095ed740b5339a40a8dae97f2119b97b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a095ed740b5339a40a8dae97f2119b97b">&#9670;&#160;</a></span>transitionOperator() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const Operator &amp; <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::transitionOperator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00080">80</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_tempered_markov_chain.html#a26911979f0d57257974d9fc19e2ce5fd">shark::TemperedMarkovChain&lt; Operator &gt;::transitionOperator()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html#a390d4deeed260f32028b2935dd5b7ddb">shark::EnergyStoringTemperedMarkovChain&lt; Operator &gt;::step()</a>.</p>

</div>
</div>
<a id="afae3cc6e7626e291e4068ae278d96f00" name="afae3cc6e7626e291e4068ae278d96f00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afae3cc6e7626e291e4068ae278d96f00">&#9670;&#160;</a></span>update()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::update </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00221">221</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a171eacad9f4a8371278220a8feae77c1" name="a171eacad9f4a8371278220a8feae77c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a171eacad9f4a8371278220a8feae77c1">&#9670;&#160;</a></span>computesBatch</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Operator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const bool <a class="el" href="classshark_1_1_energy_storing_tempered_markov_chain.html">shark::EnergyStoringTemperedMarkovChain</a>&lt; Operator &gt;::computesBatch = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The <a class="el" href="classshark_1_1_markov_chain.html" title="A single Markov chain.">MarkovChain</a> can't be used to compute several samples at once. </p>
<p>The tempered markov chain ues it's batch capabilities allready to compute the samples for all temperatures At the same time. Also it is much more powerfull when all samples are drawn one after another for a higher mixing rate. </p>

<p class="definition">Definition at line <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html#l00050">50</a> of file <a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Unsupervised/RBM/Sampling/<a class="el" href="_energy_storing_tempered_markov_chain_8h_source.html">EnergyStoringTemperedMarkovChain.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
